package com.boot.study.config; /**
 * @Title: ${file_name}
 * @Description:
 * @author chenchen
 * @date 2018/8/1010:43
 */

import com.dangdang.ddframe.rdb.sharding.api.ShardingValue;
import com.dangdang.ddframe.rdb.sharding.api.strategy.table.MultipleKeysTableShardingAlgorithm;

import java.util.Collection;

/**
 * @Description:
 * @author chenchen
 * @date 2018/8/10 10:43
 */
public class MultipleKeysModuloTableShardingAlgorithm implements MultipleKeysTableShardingAlgorithm {
    @Override
    public Collection<String> doSharding(Collection<String> collection, Collection<ShardingValue<?>> shardingValues) {
        for(ShardingValue<?> shardingValue : shardingValues) {

        }
        return null;
    }
}
